/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sv.edu.ugb.vistacontrolador.app;

import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;
import sv.edu.ugb.vistacontrolador.app.renderizadormsg.impl.renderizadorGui;
import sv.edu.ugb.vistacontrolador.app.renderizadormsg.impl.renderizadorcmd;

/**
 *
 * @author vizard
 */
public class Hola {
    public static void main(String[] args) {
        
     XmlBeanFactory factory = new XmlBeanFactory(new ClassPathResource("Bean.xml"));

               
        renderizadorcmd cmd = (renderizadorcmd) factory.getBean("renderizadorcmd");
        cmd.mostrar();
        
        renderizadorGui gui = (renderizadorGui) factory.getBean("renderizadoGui");
        gui.mostrar();
    }
    
}
